package com.derbysoft.dswitch.adapter.ihg.exception;

import java.util.List;

public class HotelNotFoundException extends BusinessException {
    private static final String ERROR_CODE = "HotelNotFound";

    public HotelNotFoundException(String passport) {
        super(String.format("Hotel not found [%s]", passport), ERROR_CODE);
    }

    public HotelNotFoundException(List<String> inexistentHotels) {
        super(String.format("Hotel not found %s", inexistentHotels), ERROR_CODE);
    }
}
